package com.leoman.plz_p.constants;

/**
 * Created by guoh on 2017/2/28.
 */

public class Urls {
    public static final String ROOT="http://47.99.127.57:8080/pulinzhi/api/";

    public static final String LOGIN="login";

    public static final String GET_CODE ="generaCaptcha";

    public static final String GET_COURSE_LIST="index";

    public static final String EDIT_USER="editUser";

    public static final String BOOK_LIST="catalog";

    public static final String RECENT_STUDY="calcu";

    public static final String MISTAKE_QUE="examin/index";

    public static final String GET_POINT_INTRODUCE="getText";

    public static final String GET_POINT_DETAIL="courseChapterId";

    public static final String GET_COURSE_COMMENT="showComment";

    public static final String GET_COURSE_COMMENT_BY_COURSE_ID="course/showComment";

    public static final String SEND_COURSE_COMMENT_BY_COURSE_ID="course/addComment";

    public static final String GET_POINT_DETAIL_BY_MISSION="record/getIndexById";

    public static final String GET_COURSE_COMMENT_BY_MISSION="record/showComment";

    public static final String SEND_COURSE_COMMENT_BY_MISSION="record/editComment";

    public static final String SEND_COURSE_COMMENT="editComment";

    public static final String GO_RECENT_STUDY="recent";

    public static final String UPLOAD_IMAGE="uploadImg";

    public static final String STUDY_NUMBER="number";

    public static final String VIDEO_COMPLETE="finshVide";

    public static final String RESET_PASSWORD="editPassword";

    public static final String EXAM_RECORD="test/index";

    public static final String STUDY_RECORD="record/index";

    public static final String MISSION_RECORD="record/task";

    public static final String GET_EXAM_INFO="getExaminTest";

    public static final String GET_EXAM_LIST="simulate/index";

    public static final String GET_RECENT_EXAM_INFO="simulate/recent";

    public static final String MISSION_BOOK="record/taskIndex";

    public static final String GET_QUESTION_DETAIL="getExaminById";

    public static final String DELETE_MISTAKE_QUESTION="examin/result";

    public static final String GET_EXAM_IDS="simulate/getExamin";

    public static final String SUBMIT_EXAM="simulate/result";

    public static final String ALL_MISTAKE="examin/all";

    public static final String GET_VIDEO_LIST="videoList";

    public static final String GET_HAS_DO_EXAM_INFO="simulate/getErrorRecord";

    public static final String GET_ABOUT_US="other/about";

    public static final String HELP_CENTER="other/help";

    public static final String SHOW_CATEGORY="course/showCategory";

    public static final String SHOW_CLASS_BY_CATEGORY="course/showIndex";

    public static final String GET_HOT_COURSE="course/hot";

    public static final String GET_FINE_COURSE="course/fine";

    public static final String GET_COURSE_SIMULATION="course/simulation";

    public static final String GET_BANNER="banner/banner";



    //上传图片接口
    public static final String uploadImages="";



    private static String getHtmlData(String bodyHTML) {
        String head = "<head>" +
                "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\"> " +
                "<style>img{max-width: 100%; width:auto; height:auto;}</style>" +
                "</head>";
        return "<html>" + head + "<body>" + bodyHTML + "</body></html>";
    }



}
